package com.czxy.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order {
    /**
     *                         oid INT PRIMARY KEY,
     *                         user_id INT,
     *                         number INT,
     *                         createTime DATE,
     *                         note VARCHAR(50),
     */

    private Integer oid;
    private Integer userId;
    private Integer number;
    private Date createTime;
    private String note;

    private User user;
}
